<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"	>
	<!-- xmlns:p="http://primefaces.org/ui"> -->
	
<f:view>
<h:head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="content-language" content="en" />
	<meta name="robots" content="noindex,nofollow" />
<!-- 	<link type="text/css" rel="stylesheet" href="#{request.contextPath}/Template/css/style.css" /> -->
	<link rel="stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/reset.css" /> <!-- RESET -->
	<link rel="stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/main.css" /> <!-- MAIN STYLE SHEET -->
	<link rel="stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/2col.css" title="2col" /> <!-- DEFAULT: 2 COLUMNS -->
	<link rel="alternate stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/1col.css" title="1col" /> <!-- ALTERNATE: 1 COLUMN -->
	<!--[if lte IE 6]><link rel="stylesheet" media="screen,projection" type="text/css" href="css/main-ie6.css" /><![endif]--> <!-- MSIE6 -->
	<link rel="stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/style.css" /> <!-- GRAPHIC THEME -->
	<link rel="stylesheet" media="screen,projection" type="text/css" href="#{request.contextPath}/Template/css/mystyle.css" /> <!-- WRITE YOUR CSS CODE HERE -->
</h:head>
<h:body>
	<!-- <p:menu model="model" /> -->
	  
	<h:form> 
		<div align="center">			
			<div id="titulo_sistema_login">
				<H1>Sistema de Gestion de Proyectos Comunitarios</H1>
			</div>	
			<br/> <br/>
			<div class="login">
			<div align="center">								
				<h1>Ingreso al sistema</h1>				
			</div>			
			
				<p>
				Usuario:								
				<h:inputText id="usuario" value="#{loginBean.usuario}" />
				</p>
				<p>
				Contraseña: 				
				<h:inputSecret value="#{loginBean.password}" />
				</p>
				
				
				<!-- <h:commandButton rendered="true" value="Error de login">
					<f:ajax execute="login" render="output" />
	    	   	</h:commandButton> -->
				
				<h:outputText id="output" value="#{loginBean.error}" />
				
				<p class="submit">
					<h:commandButton id="login" type="submit" name="commit" action="#{loginBean.doLogin}" value="Entrar" />
				</p>
				
			
			</div>
		  	<br/>
		  	<br/>
		  	<br/>
		</div>
	</h:form>	
	
  
</h:body>
</f:view>
</html>